<script setup>
import Search from "@/components/Search.vue";
import {ref} from "vue";
import Dialog from "@/components/Dialog.vue";
import List from "@/components/List.vue";

const dialog = ref(null)
const onAdd = () => {
    dialog.value.centerDialogVisible = true;
    dialog.value.url = "";
}

</script>

<template>
    <Search @onAdd="onAdd" style="margin-bottom: 10px"/>
    <List></List>
    <Dialog ref="dialog"></Dialog>
</template>

